Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Lisa Kiresabergynds 26.Nov.03 04:13 PM a Web browser
Domino Designer 6.0.2 Windows 2000


I try to display dummy document with one Text field and one RichText field using workspace.dialogbox.

Both fields are on the form.
But RTFIELD displayed as blank while TFIELD displayed OK.

Following is the code:

Begin:
Dim workspace As New NotesUIWorkspace
Dim session As New NotesSession
Dim db As NotesDatabase
Dim tempdoc As NotesDocument
Dim RTFIELD As NotesRichTextItem

Set db = session.CurrentDatabase

Set tempdoc = db.CreateDocument
tempdoc.form = "TESTForm"

Set RTFIELD = New NotesRichTextItem(tempdoc, "RTFIELD")

Call RTFIELD.AppendText( "Rich Text Value" )

tempdoc.TFIELD = "Text field value"

Call workspace.DialogBox _
("TESTForm", True, True, False, False, False, _
False, "Title.", tempdoc)
:End

Avantually, I am planning to insert into RTFIELD couple of docLinks do different db.docs(I also would appriciate comments on that).

Thanks






RichText field in new doc does not ... (~Lisa Kiresaber... 26.Nov.03)
. . RE: RichText field in new doc does ... (~Vanessa Prehip... 26.Nov.03)
. . . . RE: RichText field in new doc does ... (~Denise Feznite... 26.Nov.03)
. . DocLink does not work (~Lisa Kiresaber... 26.Nov.03)
. . . . RE: DocLink does not work (~Denise Feznite... 26.Nov.03)
. . . . . . It will, the document just has to b... (~Dan Elhipister... 26.Nov.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS